package ru.algorithm.clusterization.cftree2;

import java.util.ArrayList;
import java.util.List;

/**
 * Yuri Zemlyanskiy <urikz@yandex-team.ru>
 * Date: 06.05.2011
 */
public class CFInnerNodeWithLeafChildren extends AbstractCFInnerNode {

    private List<CFLeaf> children = new ArrayList<CFLeaf>();

    public CFInnerNodeWithLeafChildren(int maximalChildrenNumber) {
        super(maximalChildrenNumber);
    }

    @Override
    void insert(CFLeaf leaf) {
        children.add(leaf);
        // update cluster feature vector
    }

}
